home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
u_man
/
cat6
/
bzlogo.z
/
bzlogo
Wrap
Text File
|
1998-10-30
|
5KB
|
199 lines
BBBBZZZZ((((6666DDDD)))) BBBBZZZZ((((6666DDDD))))
NNNNAAAAMMMMEEEE
bzlogo - convert SGI images to the logo format for bz
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
bbbbzzzzllllooooggggoooo iiiimmmmggggffffiiiilllleeee llllooooggggooooffffiiiilllleeee [ ----lllleeeefffftttt | ----rrrriiiigggghhhhtttt ] [ sssstttteeeeppppssssiiiizzzzeeee ]
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
_B_z_l_o_g_o converts an SGI RGB image file to a format that _b_z(_6_D) can load.
The sssstttteeeeppppssssiiiizzzzeeee option allows some control over the refinement of the
result. The default value is 2. If the program fails, try increasingly
higher values until it succeeds.
The lllleeeefffftttt and rrrriiiigggghhhhtttt options indicate that the logo should appear as is on
the left and right side of the tank, respectively, and should be flipped
on the opposite side. This allows logos to be built that have a
preferred direction with respect to the front of the tank.
LLLLOOOOGGGGOOOO FFFFIIIILLLLEEEE FFFFOOOORRRRMMMMAAAATTTT
The logo file is an ASCII file and describes a set of triangluar meshes.
The format is as follows:
# BZLOGO Version 1.1
optional_global_qualifier
command
number_of_points
X-Y 1
X-Y 2
...
X-Y n
command
number_of_points
X-Y 1
X-Y 2
...
X-Y n
...
command
In the above, _c_o_m_m_a_n_d can be any of the following:
BBBBGGGGNNNNTTTTMMMMEEEESSSSHHHH
Starts a triangular mesh sequence. This must be the first
command.
SSSSWWWWAAAAPPPPTTTTMMMMEEEESSSSHHHH
Performs a swaptmesh and continues on with new points.
EEEENNNNDDDDBBBBGGGGNNNNTTTTMMMMEEEESSSSHHHH
Ends one triangular mesh and starts a new one.
PPPPaaaaggggeeee 1111
BBBBZZZZ((((6666DDDD)))) BBBBZZZZ((((6666DDDD))))
RRRREEEETTTTEEEENNNNDDDDTTTTMMMMEEEESSSSHHHH
Ends the logo and is the final command processed.
The line indicated above by _o_p_t_i_o_n_a_l__g_l_o_b_a_l__q_u_a_l_i_f_i_e_r can be absent or
replaced by one of the following:
LLLLEEEEFFFFTTTTSSSSIIIIDDDDEEEE
Indicates that the logo should appear as described on the left
side of the tank and reversed when displayed on the right side.
RRRRIIIIGGGGHHHHTTTTSSSSIIIIDDDDEEEE
Indicates that the logo should appear as described on the right
side of the tank and reversed when displayed on the left side.
An example file which describes a forward-pointing-arrow is shown below.
# BZLOGO Version 1.1
RIGHTSIDE
BGNTMESH
3
161 50
161 79
161 39
SWAPTMESH
1
161 172
SWAPTMESH
4
158 168
158 86
3 168
147 86
SWAPTMESH
1
7 86
SWAPTMESH
2
0 89
0 165
SWAPTMESH
2
0 154
0 96
ENDBGNTMESH
3
255 125
247 118
247 132
SWAPTMESH
6
168 211
168 43
PPPPaaaaggggeeee 2222
BBBBZZZZ((((6666DDDD)))) BBBBZZZZ((((6666DDDD))))
161 215
161 39
161 204
161 172
RETENDTMESH
SSSSEEEEEEEE AAAALLLLSSSSOOOO
bz(6D), bzviewlogo(6D).
PPPPaaaaggggeeee 3333